﻿Public Class frmPromotion

    Private Sub OPromotionHeaderBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OPromotionHeaderBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.OPromotionHeaderBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.DataSet1)

    End Sub

    Private Sub frmPromotion_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'DataSet1.oPromotionGet' table. You can move, or remove it, as needed.
        Me.OPromotionGetTableAdapter.Fill(Me.DataSet1.oPromotionGet)
        'TODO: This line of code loads data into the 'DataSet1.oPromotionBuy' table. You can move, or remove it, as needed.
        Me.OPromotionBuyTableAdapter.Fill(Me.DataSet1.oPromotionBuy)
        'TODO: This line of code loads data into the 'DataSet1.oPromotionCustomer' table. You can move, or remove it, as needed.
        Me.OPromotionCustomerTableAdapter.Fill(Me.DataSet1.oPromotionCustomer)
        'TODO: This line of code loads data into the 'DataSet1.oPromotionHeader' table. You can move, or remove it, as needed.
        Me.OPromotionHeaderTableAdapter.Fill(Me.DataSet1.oPromotionHeader)

    End Sub
End Class